
console.log("正在使用chrome扩展")
console.log(window)
console.log(chrome)





importScript('https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js', function () {
    importScript('https://cdn.bootcss.com/jquery.form/4.2.1/jquery.form.min.js');
    importScript('https://cdn.bootcss.com/jquery-cookie/1.4.1/jquery.cookie.js');
});

function importScript(src, cb) {
    var script = document.createElement('script')
    script.src = src
    document.body.append(script)

    script.onload = function () {
        cb && cb()
    }
}